<script setup lang="ts">
    import Child from "@/components/Child.vue";
    const fn = (s:number)=>{
        alert("fn"+s);
    }
</script>

<template>
    <h3>App</h3>
    <hr/>
    <Child @click="fn" @suibian="fn" @my="fn" userName="zhangsan"/>
</template>

<style scoped>

</style>